float a=0.0;
int r;
float x = 150;
float  y=150;
float dim=100;
int angle=0;

void setup() {
  size(300, 300);
  background(0,0);
  noStroke(); 
  r=width/4;  
  
}

void draw() {
  pushMatrix();
  translate(mouseX, mouseY);
  background(51);
  angle = angle + 1;
  rotate(radians(angle));
  rect(0, 0, 70, 70); 
  popMatrix();
}





